package com.xiaowu.xblog.web;


import com.xiaowu.xblog.entity.Article;
import com.xiaowu.xblog.service.ArticleService;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.NoArgsConstructor;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/blog")
@Slf4j
@Tag(name = "文章相关接口")
public class ArticleController extends BaseController<ArticleService, Article>{

    public ArticleController(ArticleService service) {
        super(service);
    }

}
